package com.edu.dao;

import com.edu.data.Comment;

import java.util.List;

public interface CommentMapper {
    int deleteByPrimaryKey(Integer ecId);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer ecId);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);

    List<Comment> getCommentList();

    void delete(int id);

    Comment findById(int id);

    void update(Comment comment);

    void add(Comment comment);
}